void finemaxnum(char * pchar,int * num,char * ch)
{
    
    int max = 0;
    int cun = 1;
    int len = strlen(pchar);
     char cur= 0;
    for(int i =0;i<len-1;i++)
    {
        if(pchar[i] == pchar[i+1])
            {
            cun++;
            if(cun>max)
                {
                    max = cun;
                    cur = pchar[i];         
                }
        }
        else
        {
            cun=1;
        }
    }      
    *num = max;
    *ch = cur;  
}

